/* 
 * File:   main.c
 * Author: yunglu
 *
 * Created on October 1, 2009, 10:16 PM
 */

#include <stdio.h>
#include <stdlib.h>
#include "person.h"
/*
 * 
 */
int main(int argc, char** argv)
{
    Person p1 = Person_construct(21, "Amy Johnson");
    Person_print(p1);
    Person p2 = Person_construct(20,
            "A Name that is very long and need more space");
    Person_print(p2);
    printf("p1's age is %d\n", Person_getAge(p1));
    printf("p2's name is %s\n", Person_getName(p2));
    Person_destruct(p1);
    Person_destruct(p2);
    return (EXIT_SUCCESS);
}

